GetEnum<T>(IPdfDict,PdfName,Nullable<T>) Method
In This Topic
Gets the nullable enum value associated with the specified key. If the value does not exist or cannot be converted to an enum, returns (which can be null).
Syntax
'Declaration
Public Overloads Shared Function GetEnum(Of As {New, Struct})( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByVal As System.Nullable(Of T) _
) As System.Nullable(Of T)
public static System.Nullable<T> GetEnum<>(
IPdfDict ,
PdfName ,
System.Nullable<T>
)
where T: new(), struct
Parameters
- dict
- The current dictionary.
- key
- The key identifying the value.
- defValue
- The default value.
Type Parameters
- T
Return Value
The value associated with the specified key, or .
See Also